using Finance.Api.Read.Dtos;
using Finance.Domain;
using Finance.ErrorCode;
using MediatR;

namespace Finance.Api.Read.Applications.Commands.库存盘点
{
    public class ProductQueryCommand : IRequest<ApiResult<ApiPaging<List<ProductDto>>>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int index { get; set; }

        /// <summary>
        /// 每页大小
        /// </summary>
        public int size { get; set; }

        /// <summary>
        /// 产品名称
        /// </summary>
        public string? ProductName { get; set; }

        /// <summary>
        /// 库名
        /// </summary>
        public string? Location { get; set; }

        /// <summary>
        /// 产品编号
        /// </summary>
        public string? ProductNo { get; set; }
    }
} 